/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.sdkj.dspservice.modules.sys.entity;

import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sdkj.dspservice.common.base.entity.DataEntity;
import lombok.Data;

/**
 * 字典Entity
 * @author tm
 * @version 2020-11-23
 */
@Data
@TableName(value = "sys_dict")
public class Dict extends DataEntity<Dict> {

	/**
	 * 数据值
	 */
	private String value;
	/**
	 * 标签名
	 */
	@TableField(condition = SqlCondition.LIKE)
	private String label;
	/**
	 * 类型
	 */
	@TableField(condition = SqlCondition.LIKE)
	private String type;
	/**
	 * 描述
	 */
	@TableField(condition = SqlCondition.LIKE)
	private String description;

	public Dict() {
		super();
	}
	
	public Dict(String id){
		super(id);
	}
	
	public Dict(String value, String label){
		this.value = value;
		this.label = label;
	}

}